package com.ruoyi.energy.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 停车场统计对象 omp_tc_statistics
 *
 * @author cjie
 * @date 2022-04-25
 */
@Data
@ApiModel
public class TcStatistics extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private String id;

    /** 停车场id */
    @Excel(name = "停车场id")
    @ApiModelProperty(value = "停车场id")
    private String parkId;

    /** 停车场名称 */
    @Excel(name = "停车场名称")
    @ApiModelProperty(value = "停车场名称")
    private String parkingName;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "日期")
    private Date staticDate;

    /** 应收金额 */
    @Excel(name = "应收金额")
    @ApiModelProperty(value = "应收金额")
    private BigDecimal receivableAccount = BigDecimal.ZERO;

    /** 实收金额 */
    @Excel(name = "实收金额")
    @ApiModelProperty(value = "实收金额")
    private BigDecimal receivedAccount = BigDecimal.ZERO;

    /** 微信金额 */
    @Excel(name = "微信金额")
    @ApiModelProperty(value = "微信金额")
    private BigDecimal wxAccount = BigDecimal.ZERO;

    /** 现金 */
    @Excel(name = "现金")
    @ApiModelProperty(value = "现金")
    private BigDecimal cashAccount = BigDecimal.ZERO;

    //daikou_amount
    /** 代扣 */
    @Excel(name = "代扣")
    @ApiModelProperty(value = "代扣")
    private BigDecimal daikouAccount = BigDecimal.ZERO;

    private String chargeType;
}
